package com.clwl.supervise.superviseapp.mapper.supervise;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.clwl.supervise.superviseapp.entity.supervise.JgLiabilityStandard;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface JgLiabilityStandardMapper extends BaseMapper<JgLiabilityStandard> {
    /**
     * 按模版ID和日常检查ID获取社会评分模版信息
     * @param standardId 模版ID
     * @param dailyCheckId 日常检查ID
     * @return
     */
    JgLiabilityStandard selectStandardInfo(@Param("standardId") Long standardId,@Param("dailyCheckId") Long dailyCheckId,@Param("dynamicScoringId") Long dynamicScoringId);

    List<JgLiabilityStandard> selectStandardInfoByDailyCheckId(@Param("dailyCheckId") Long dailyCheckId);
}
